<?php
/**
 *  TinyMVC - TinyMVCModelAndView.class.php file
 * 
 * @author Adrian Wieczorek <adi(at)tinymvc(dot)org>
 * @package TinyMVC
 * @version $Id: TinyMVCModelAndView.class.php 11 2007-09-28 21:40:19Z adi3ek $
 * 
 */
 
/**
 * Model and View transfer object class
 * @package TinyMVC
 */
class TinyMVCModelAndView {
	/**
	 * Model
	 * @access private
	 * @var mixed
	 */
	private $model;
	/**
	 * View
	 * @access private
	 * @var mixed
	 */
	private $view;
		
	public function __construct() {
		$this->model = new TinyMVCSimpleContainer;
		$this->view = new TinyMVCSimpleContainer;
	}
		
	/**
	 * get Model
	 * @return mixed Model container
	 */
	public function getModel() {
		return $this->model;
	}
		
	/**
	 * set Model
	 * @param mixed $model Model container
	 */
	public function setModel($model) {
		$this->model = $model;
	}
    				
	/**
	 * get View
	 * @return mixed View container
	 */
	public function getView() {
		return $this->view;
	}
	
	/**
	 * set View
	 * @param mixed $view View container
	 */
	public function setView($view) {
		$this->view = $view;
	}				
}
